﻿<%@ Page Language="C#" AutoEventWireup="true" Inherits="DeliverGoodsManagement_Settlement" Codebehind="Settlement.aspx.cs" %>

<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>

<%@ Register Src="../Controls/PAYDOCListControl.ascx" TagName="PAYDOCListControl"
    TagPrefix="uc1" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>无标题页</title>
    <script type="text/javascript" src="../Include/Js/SocanCode.js"></script>
    <script type="text/javascript" src="../Include/Js/OpenWindow.js"></script>
    <script type="text/javascript">
       function setVIPValue(p)
       {
            var gk=p.split("|");
            document.getElementById("txtCustomerId").innerText=gk[0];
       }
    </script>
    <script type="text/javascript" src="../Include/Js/PopupCalendar.js"></script>
<style type="text/css">
body {font-size:12px;margin:0;padding:0;}
a:visited{text-decoration:none;color:slategray;}
a:hover{text-decoration:underline;color:slategray;}
a:link{text-decoration:none;color:slategray;}
.juli {margin-top:10px;padding-left:20px;}
.z1{background-color:#e7e7e7; text-align:left; line-height:20px;}
.z2{background-color:#FFFFFF; text-align:left; line-height:20px;}
.zt3 {text-align:center; font-weight:600; color:#000000;}
.zt4 {text-align:center; color:#000000;}
.zt5 {text-align:right; color:#000000;}
.zt7 {text-align:right; color:#000000;}
.tb {width: 90%; background-color:#999999;}
a.lj {font-size:12px; color:#ff9900; text-decoration:underline;}
a.lj:link {font-size:12px; color:#ff9900; text-decoration:underline;}
a.lj:visited {font-size:12px; color:#ff9900; text-decoration:underline;}
a.lj:hover {color:#ff3300;}
a.lj:active {color:#ff3300;}
.menu_bg { background-color:#fef3bb; padding-left:20px;padding-top:6px; padding-bottom:6px;border-bottom:#cf994b 1px solid;}
.input_button {width:52px;height:23px;border:none;cursor:pointer; background:#ffffff url(../Include/Images/bt.gif) no-repeat;}
.input_button4 {width:52px;height:23px;border:none;cursor:pointer; background:#ffffff url(../Include/Images/bt.gif) no-repeat;font-weight:bold;}
h2 {padding-left:20px;padding-top:10px;margin:0; background: url(../Include/Images/menu_title.gif) repeat-x;height:21px;font-size:14px; font-weight:600;}
</style>
</head>
<body>
    <form id="form1" runat="server">
    <div align="Justify">
    <h2>结算单</h2>
    <div class="menu_bg">
        <asp:Button ID="btnAddSettlement" runat="server" CssClass="input_button" Text="新增" OnClick="btnAddSettlement_Click" /></div>
        <div class="menu_bg">结算单编号：<asp:TextBox ID="txtPayDocId" runat="server" Width="100px"></asp:TextBox>
        会员帐号：<asp:TextBox ID="txtCustomerId" runat="server" Width="100px" ></asp:TextBox>
        <input id="btnChooseCustomer" class="input_button4" type="button" value="..." onclick="SearchVIP('../');" />
        制单日期从：<asp:TextBox ID="txtPayDocStartDate" runat="server" Width="100px" OnClick="getDateString(this,oCalendarChs)"></asp:TextBox>
        至<asp:TextBox ID="txtPayDocEndDate" runat="server" Width="100px" OnClick="getDateString(this,oCalendarChs)"></asp:TextBox>&nbsp;
        核准：<asp:DropDownList ID="dropCheck" runat="server">
            <asp:ListItem Value="-1" Text="全部"></asp:ListItem>
            <asp:ListItem Value="0">否</asp:ListItem>
            <asp:ListItem Value="1">是</asp:ListItem>
        </asp:DropDownList>&nbsp; 
        结算类型：<asp:DropDownList ID="dropClearType" runat="server">
            <asp:ListItem Value="-1" Text="全部"></asp:ListItem>
            <asp:ListItem Value="001">应收款</asp:ListItem>
            <asp:ListItem Value="002">预收款</asp:ListItem>
        </asp:DropDownList><br /><br />
        担保交易：<asp:DropDownList ID="dropAssureDeal" runat="server">
        <asp:ListItem Text="" Value="-1" Selected="true">全部</asp:ListItem>
        <asp:ListItem Text="否 " Value="0"></asp:ListItem>
        <asp:ListItem Text="是 " Value="1"></asp:ListItem>
        </asp:DropDownList> 
        <asp:Button ID="btnSearch" class="input_button" runat="server" Text="查找" OnClick="btnSearch_Click" /></div>
        <div class="juli">
           <uc1:PAYDOCListControl ID="PAYDOCListControl1" runat="server" /></div>
        <div class="juli"><webdiyer:aspnetpager id="AspNetPager1" 
        runat="server"
          
       NumericButtonCount="8" 
       ShowCustomInfoSection="left" 
       PagingButtonSpacing="0"
       ShowInputBox="always" 
       HorizontalAlign="Center" 
       SubmitButtonText="转到" 
       NumericButtonTextFormatString="[{0}]" OnPageChanged="AspNetPager1_PageChanged" FirstPageText="首页" LastPageText="末页" NextPageText="下一页" PrevPageText="上一页" SubmitButtonClass="input_button"></webdiyer:aspnetpager></div>
    </div>
    </form>
</body>
</html>
